package com.suishoupai.xmb.dao;

import com.suishoupai.xmb.entity.Auth;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by caojian on 2017/4/1.
 */
public interface CutAuthMapper {
    Auth selectByPrimaryKey(@Param("email") String email,@Param("type") int type);

    int deleteByPrimaryKey(@Param("email") String email,@Param("type") int type);

    List<Auth> getAll();

    long selectCountByEmail(@Param("email") String email);

    int updateByPrimaryKey(Auth auth);
}
